package entity;

import java.util.List;

/**
 * Created by Administrator on 2016/1/15.
 */
public class GoodsDetailPageEntity {


    private int code;
    private String msg;

    private DataEntity data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private int id;
        private String title;
        private String imgUrl;
        private String stock;
        private String price;
        private String priceStr;
        private String originalPrice;
        private String auditStatus;
        private String desc;


        private List<DescriptionEntity> description;
        private List<?> spec;

        public void setId(int id) {
            this.id = id;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public void setStock(String stock) {
            this.stock = stock;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setPriceStr(String priceStr) {
            this.priceStr = priceStr;
        }

        public void setOriginalPrice(String originalPrice) {
            this.originalPrice = originalPrice;
        }

        public void setAuditStatus(String auditStatus) {
            this.auditStatus = auditStatus;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public void setDescription(List<DescriptionEntity> description) {
            this.description = description;
        }

        public void setSpec(List<?> spec) {
            this.spec = spec;
        }

        public int getId() {
            return id;
        }

        public String getTitle() {
            return title;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public String getStock() {
            return stock;
        }

        public String getPrice() {
            return price;
        }

        public String getPriceStr() {
            return priceStr;
        }

        public String getOriginalPrice() {
            return originalPrice;
        }

        public String getAuditStatus() {
            return auditStatus;
        }

        public String getDesc() {
            return desc;
        }

        public List<DescriptionEntity> getDescription() {
            return description;
        }

        public List<?> getSpec() {
            return spec;
        }

        public static class DescriptionEntity {
            private String picUrl;

            public void setPicUrl(String picUrl) {
                this.picUrl = picUrl;
            }

            public String getPicUrl() {
                return picUrl;
            }
        }
    }
}
